home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 47
/
Amiga Format AFCD47 (Issue 131, Xmas 1999).iso
/
-serious-
/
misc
/
undos
/
undos.doc
< prev
next >
Wrap
Text File
|
1999-10-04
|
2KB
|
75 lines
INTRODUCTION
UnDos converts amongst PC, Unix, Mac and CPM text formats, IMHO it does it
in a dumb way, you have to rename(!) the program each time you want to
perform a different operation (I suggest you to write a script from your
filemanager to overcome this).
Undos and tounix
convert DOS or CP/M format source files to Unix format by deleting
carriage returns preceding linefeeds and eliminating characters
starting with CPMEOF (^Z).
Todos
converts Unix format source files to DOS format by adding a carriage return
(if not already present) before each linefeed,
and eliminates characters
starting with CPMEOF (^Z).
Tocpm
additionally appends CPMEOF (^Z) characters to the resulting file
to make the file length a multiple of the 128 byte CP/M record length.
Any combination of undos, todos, or tocpm (without flags)
may be applied to a proper ASCII file without destroying information.
Lone carriage returns used to force overprinting are not translated
to CR/LF pairs.
Unmac
converts files with lines terminated only by carriage return
to Unix format.
Unmac should only be used to translate files whose lines are terminated
by lone carriage returns.
Tomac
converts Unix format files to Macintosh format
(lines terminated by carriage return only).
The optional flag -s
Strips the parity bit on all characters
and discards all resulting characters with values less than 7.
The access and modification times of the modified files are set
to those of the original files.
DIAGNOSTICS
Refuses to translate files in which "binary" characters (less than 7
or greater than 127) are seen before CPMEOF.
Refuses to translate files with ultra long lines.
Refuses to translate special files.
BUGS
Does not detect short files without linefeeds.
Unmac and tomac
cannot handle files with CR-only overprinting.
(ASCII allows either LF or CR/LF to delimit lines, but not CR.)
AUTHOR
This program is copyrighted by Omen Technology, more info in the C
source.
Amiga porting by Fabrizio "Lanch^DarkAge" Bartoloni.
<lanch@caribusiness.it>